define( [
		'module',
		'underscore',
		'jquery',
		'backbone',
		'marionette',
		'controller/controller'
		],
function( module, _, $, Backbone, Marionette, Controller ) {
	console.log("Loading module " + module.id + " from " + module.uri + "...");
	var AppRouter = Marionette.AppRouter.extend({
		controller : Controller,
		appRoutes: {
			"fileMenu" : "showFileMenu",
			"exit": "destroyLibrary", // works
		 	"addBook":"showAddBook",
			"showLibrary": "showLibrary",
			"complexView": "showComplexView"
		}
	});

	return AppRouter;
});
